package com.wangzhixuan.model;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import java.util.Date;
import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 * 
 * @author zhixuan.wang
 * @since 2017-09-25
 */
@TableName("c_operation")
public class Operation extends Model<Operation> {

	private static final long serialVersionUID = 1L;

	/**
	 * 运维表
	 */
	@TableId(value = "id", type = IdType.AUTO)
	private Integer id;
	/**
	 * 运维内容
	 */
	private String content;
	/**
	 * 运维地址
	 */
	private String address;
	/**
	 * 运维人id
	 */
	@TableField("create_id")
	private Integer createId;
	/**
	 * 运维时间
	 */
	@TableField("create_time")
	private Date createTime;

	/**
	 * 户号id
	 */
	@TableField("cus_id")
	private Integer cusId;

	/**
	 * x坐标
	 */
	@TableField("x_code")
	private String xCode;

	public String getxCode() {
		return xCode;
	}

	public void setxCode(String xCode) {
		this.xCode = xCode;
	}

	public String getyCode() {
		return yCode;
	}

	public void setyCode(String yCode) {
		this.yCode = yCode;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	/**
	 * y坐标
	 */
	@TableField("y_code")
	private String yCode;
	/**
	 * 状态1.已签到 0.未签到
	 */
	private Integer status;

	public Integer getCusId() {
		return cusId;
	}

	public void setCusId(Integer cusId) {
		this.cusId = cusId;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public Integer getCreateId() {
		return createId;
	}

	public void setCreateId(Integer createId) {
		this.createId = createId;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

}
